@import url('base.less');
html, body{height: 100%;}
.main{
  //height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}
.header{
  overflow: hidden;
  border-bottom: 1px solid #efefef;
  padding: 20px .4rem;
  .logo{
    width: 120px;
    height: 0.7rem;
    background: url("../image/_logo@2x.png") no-repeat;
    background-position: center center;
    background-size: contain;
  }
  .download{
    p{
      width: 2rem;
      line-height: 0.7rem;
      .mixin-font-dpr(12px);
      text-align: center;
      color: white;
      background-color: #38a1f4;
      border-radius: 5px;
    }
  }
}
.message{
	background-color: #fff;
	padding: 0.25333333rem 0.4rem;
	//border-bottom: .4rem solid #f0f0f0;
	& .user{
		.userImg{
          height: 0.66666rem;
          width: 0.66666rem;
          background-image: url('../image/headerImg01.png');
          background-position: center center;
          background-repeat: no-repeat;
          background-size: 100% 100%;
			img{
				width: 1.2rem;
			}
		}
		.weui-flex__item{
			padding-left: 0.16rem;
			color: #7b7b7b;
		}
		.weui-flex__item{
			color: #333333;
			//padding-top: .16rem;
			.desc{
				.mixin-font-dpr(12px);
                .userName{
                  line-height: 0.66666rem;
                  font-weight: 700;
                  .mixin-font-dpr(14px);
                  display: inline-block;
                  max-width: 33%;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                  vertical-align: middle;
                }
              .time{
                line-height: 0.66666rem;
              }
				i{
					.mixin-font-dpr(13px);
					color: #aeaeae;
				}
              .address{
                display: inline-block;
                width: 50%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                vertical-align: top;
                margin-left: 10px;
              }
			}
		}
		.attention{
          p{
            width: 2rem;
            height: 0.65rem;
            line-height: 0.65rem;
            .mixin-font-dpr(14px);
            color: #2597e0;
            border: 1px solid #2299dd;
            border-radius: 5px;
            text-align: center;
          }
		}
	}
	.messageContent{
      margin-top: .2rem;
      .text{
        color: #252525;
        .mixin-font-dpr(16px);
        p{
          word-wrap: break-word;
        }
        .tip{
          color: #ff7427;
        }
      }
      .resource{
        margin-top: 0.1rem;
        .other{
          & img{
            width: 100%;
          }
          .weui-flex{
              .weui-flex__item{
                &:first-child{
                    margin-left: 0 !important;
                  }
                }
            }
        }
        .second{
            margin-top: .1rem;
        }
      }
      .showAll{
          width: 100%;
          //margin-bottom: 25px;
          text-align: center;
          //line-height: 82px;
          .mixin-font-dpr(16px);
          color: #1e9ada;
      }
    }
.comment {
  //padding: 0 0.4rem;
  background-color: #fff;
  //min-height: 600px;
  .commentHeader {
    height: 0.9333333rem;
    line-height: 0.9333333rem;
    .mixin-font-dpr(14px);
    color: #333;
    //color: #fe8d47;
    border-bottom: 2px solid #dddbdc;
    i {
      .mixin-font-dpr();
    }
    span {
      .mixin-font-dpr(12px);
    }
  }
  .commentBody {
    padding-bottom: 0.42666667rem;
    border-bottom: 1px solid #dcdcdc;
    .commentEditor {
      padding-top: 0.29333333rem;
      .headerImg {
        width: 0.88rem;
        height: 0.88rem;
        border-radius: 4px;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .weui-flex__item {
        color: #333;
        padding-left: .12rem;
        p {
          .mixin-font-dpr(13px);
        }
        .time {
          .mixin-font-dpr(8px);
        }
      }
      .likeInfo {
        width: 3rem;
        text-align: right;
        span {
          // display: inline-block;
          i {
            .mixin-font-dpr(16px);
          }
          &:first-child {
            vertical-align: middle;
            margin-right: 10px;
          }
          &:nth-child(2) {
            vertical-align: middle;
            margin-right: 10px;
            //line-height: 50px;
          }
          &:last-child {
            vertical-align: text-top;
            display: inline-block;
            margin-top: 0px;
          }
        }
      }
    }
    .commentContent {
      padding-left: 1rem;
      p {
        .mixin-font-dpr(12px);
      }
      .commentImg {
        margin-top: 10px;
        img {
          width: 6.12rem;
        }
      }
      .hidden {
        display: none;
      }
      .reply {
        height: 115px;
        overflow: hidden;
        margin-top: .24rem;
        background-color: #eeeced;
        position: relative;
        padding: 0 .16rem;
        &:after {
          content: ' ';
          width: 0;
          height: 0;
          border-left: 7px solid transparent;
          border-right: 7px solid transparent;
          border-bottom: 14px solid #eeeced;
          position: absolute;
          left: 10px;
          top: -14px;
        }
        .subComment {
          display: none;
          &:first-child {
            display: block;
          }
        }
        .title {
          color: #ff6500;
          line-height: 2;
        }
        .text {
          line-height: 1.5;
          .mixin-font-dpr(10px);
        }
        .commentCount {
          color: #fc7f3d;
          line-height: 2;
        }
      }
    }
  }
}
  //无评论样式
  .NoComment{
      width: 50%;
      margin: 0 auto;
      img{
          width: 100%;
      }
  }
  .NoCommetText{
      text-align: center;
      .mixin-font-dpr(14px);
  }
}

.footer{
  padding: 0 .4rem .7rem;
  p{
    width: 100%;
    line-height: 0.9rem;
    background-color: #2299dd;
    text-align: center;
    color: white;
    border-radius: 5px;
    .mixin-font-dpr(14px);
  }
}

//弹窗显示图片或视频
.modal{
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  z-index: 99;
  .content{
    width: 100%;
    height: 100%;
    .play{
      width: 2rem;
      height: 2rem;
      background: url("../image/play.png") no-repeat;
      background-size: cover;
      position: absolute;
      z-index: 100;
      left: 50%;
      top:50%;
      transform: translate(-50%, -50%);
    }
  }
  .close{
    position: absolute;
    z-index: 100;
    width: 0.7rem;
    height: 0.7rem;
    //top: 0.1rem;
    right: 0.1rem;
    color: white;
    i{
      .mixin-font-dpr(20px);
      vertical-align: top;
    }
  }
}